FROM registry.cn-hangzhou.aliyuncs.com/ps_base/alpine-java:8u201b09_server-jre_nashorn

LABEL maintainer="huangr"
LABEL description="平数-对接demo工程"
RUN mkdir /home/app
WORKDIR /home/app
COPY target/*.jar /app/app.jar
EXPOSE 10000
ENV LANG C.UTF-8
ENV TZ=Asia/Shanghai
ENV JVM_ARGS=${JVM_ARGS}
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo '$TZ' > /etc/timezone
ENTRYPOINT java ${JVM_ARGS} -Djava.security.egd=file:/dev/./urandom -jar /app/app.jar